package com.cinc.ebc.quote.product.mapper;

import java.util.List;
import com.cinc.ebc.quote.product.entity.QuoteProductDetail;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Description: 报价产品明细
 * @Author: jeecg-boot
 * @Date:   2023-03-22
 * @Version: V1.0
 */
public interface QuoteProductDetailMapper extends BaseMapper<QuoteProductDetail> {

	public boolean deleteByMainId(@Param("mainId") String mainId);

	public List<QuoteProductDetail> selectByMainId(@Param("mainId") String mainId);

	public List<QuoteProductDetail> selectPartsAddList(@Param("projectId") String projectId, @Param("materialIdList") List<String> materialIdList);
}
